﻿using Microsoft.EntityFrameworkCore;
using System.Security.Claims;
using 第十次作业学生管理.Models;
namespace 第十次作业学生管理.Data
{
    public class SchoolContext : DbContext
    {
        public SchoolContext(DbContextOptions<SchoolContext> options) : base(options) { }

        public DbSet<School> Schools { get; set; }
        public DbSet<Class> Classes { get; set; }
        public DbSet<Student> Students { get; set; }
        public DbSet<Log> Logs { get; set; } 
    }
}
